Mermaid to Images

| 1 min read

2021-06-20

Mermaid to images

home/Professional

Installation

https://pypi.org/project/markdown-mermaid-to-images/

pip install markdown-mermaid-to-images --proxy $https_proxy
markdown_mermaid_to_images --help

How to use

Options:

command Description
-m, --file PATH Path to markdown file, where the mermaid code blocks will be converted to images.
-f, --folder PATH Path to folder where we will convert all markdown mermaid code blocks to images.
-i, --ignore PATH Path to folder to ignore, markdown files in this folder will not be converted.
-o, --output PATH Path to folder where to save the new markdown files. [required]
-l, --log-level [DEBUG | INFO | ERROR] Log level for the script.
--help Show this message and exit.
Example
$ markdown_mermaid_to_images -f tests/data -o tests/data/output/ -i tests/data/another_folder
markdown_mermaid_to_images \
-f "C:/Users/yakiki.OPENU/Main/OP/GitREPOS/github/MyObsidian/Oracle-APEX-WIKI/Oracle-APEX-Wiki/Initiation-System" \
-o "C:/Users/yakiki.OPENU/Main/OP/GitREPOS/github/MyObsidian/test"